<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.w3.org/1999/xhtml">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>

<center>
    <h3>登录</h3>
    <hr/>
    <form th:action="@{/users/regist}" method="post">
        账号：<input type="text" name="name"/><br/>
        密码：<input type="text" name="password"/><br/>
        角色：
        <select class="form-control" id="role" name="id">
            <option value="">选择</option>
            <option value="${role.id}">${role.name}</option>
        </select>

<!--        <select name="did">-->
<!--            <c:forEach items="${li}" var="s">-->
<!--                <option value="${s.did }">${s.dname }</option>-->
<!--            </c:forEach>-->
<!--        </select>-->
<!--        th:text="${sourceMateriaTypes.name}" th:selected="${sourceMateria.sourceId==sourceMateriaTypes.id}"-->
        <input type="submit" value="确定"/><br/>
    </form>
</center>

</body>
</html>